import Opt from '@/components/dt/info/Opt.js'

class ExportColumn extends Opt {

  constructor() {
    super()
    this.build()
  }

  build() {
    this.createAll()
    this.opts.push(...this.all)
  }

  createAll() {
    this.all = [{
        field: 'operator',
        title: '操作人',
        width: 150,
        cell: {
          value: (item) => `${item.operator}(${item.workNo})`,
          text: {}
        }
      },
      {
        field: 'operationTime',
        title: '导出时间',
        width: 200,
      },
      {
        field: 'orgName',
        title: '组织',
        width: 200,
      },
      {
        field: 'content',
        title: '导出内容'
      },
    ]
  }
}

export default ExportColumn